﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Solution.Business;
namespace Solution.Mvc.Controllers
{
    public class tutorialsController : Controller
    {
        //
        // GET: /video_tutorials/

        public ActionResult Index(string id)
        {
            if (!string.IsNullOrEmpty(id))
            {
                return View(new ArticleBLL().GetOne(id));
            }
            else
                return Redirect("~/home/Err/");
        }

    }
}
